home *** CD-ROM | disk | FTP | other *** search
/ cyber.net interactivo 3 / inter@ivo 1996-04.iso / cybint3 / bin / cybint3.exe / cybint3.DXR / 00026.ls < prev    next >
Encoding:
Text File  |  1996-03-21  |  1.3 KB  |  51 lines

  1. on exitFrame
  2.   global GArray, ContCol, ContLine, Foto1, Foto2, Foto3, Foto4
  3.   if ContCol = 1 then
  4.     set the visible of sprite Foto1 to 0
  5.     set aux to getAt(GArray, ContLine)
  6.     set Foto1 to getAt(aux, ContCol)
  7.     set the locH of sprite Foto1 to 0
  8.     set the locV of sprite Foto1 to 0
  9.     set the visible of sprite Foto1 to 1
  10.   end if
  11.   if ContCol = 2 then
  12.     set the visible of sprite Foto2 to 0
  13.     set aux to getAt(GArray, ContLine)
  14.     set Foto2 to getAt(aux, ContCol)
  15.     set the locH of sprite Foto2 to 320
  16.     set the locV of sprite Foto2 to 0
  17.     set the visible of sprite Foto2 to 1
  18.   end if
  19.   if ContCol = 3 then
  20.     set the visible of sprite Foto3 to 0
  21.     set aux to getAt(GArray, ContLine)
  22.     set Foto3 to getAt(aux, ContCol)
  23.     set the locH of sprite Foto3 to 320
  24.     set the locV of sprite Foto3 to 240
  25.     set the visible of sprite Foto3 to 1
  26.   end if
  27.   if ContCol = 4 then
  28.     set the visible of sprite Foto4 to 0
  29.     set aux to getAt(GArray, ContLine)
  30.     set Foto4 to getAt(aux, ContCol)
  31.     set the locH of sprite Foto4 to 0
  32.     set the locV of sprite Foto4 to 240
  33.     set the visible of sprite Foto4 to 1
  34.   end if
  35.   if ContCol < 4 then
  36.     set ContCol to ContCol + 1
  37.   else
  38.     set ContCol to 1
  39.     if ContLine < 16 then
  40.       set ContLine to ContLine + 1
  41.     else
  42.       set ContLine to 1
  43.     end if
  44.   end if
  45.   go(3)
  46. end
  47.  
  48. on mouseUp
  49.   go("logo")
  50. end
  51.